{include file="header.html"}
<div id="rightTop">
  <p>{$lang.store}</p>
  <ul class="subnav">
    <li><span>{$lang.manage}</span></li>
    <li><a class="btn1" href="index.php?app=ultimate_store&act=add">{$lang.add}</a></li>
  </ul>
</div>
<div class="mrightTop">
  <div class="fontr">{include file=page.top.html} </div>
</div>
<div class="tdare">
  <table width="100%" cellspacing="0" class="dataTable">
    <!--{if $ultimate_store}-->
    <tr class="tatr1">
      <td width="20" class="firstCell"><input type="checkbox" class="checkall" /></td>
      <td><span ectype="order_by" fieldname="store_name">{$lang.store_name}</span></td>
      <td><span ectype="order_by" fieldname="region_id">{$lang.alias_brand}</span></td>
      <td><span ectype="order_by" fieldname="sgrade">{$lang.alias_gcategory}</span></td>
      <td class="table-center"><span ectype="order_by" fieldname="add_time">{$lang.alias_keyword}</span></td>
      <td class="table-center"><span ectype="order_by" fieldname="state">{$lang.status}</span></td>
      <td class="handler">{$lang.handler}</td>
    </tr>
    <!--{/if}-->
    <!--{foreach from=$ultimate_store item=store}-->
    <tr class="tatr2">
      <td class="firstCell"><input type="checkbox" class="checkitem" value="{$store.ultimate_id}" /></td>
      <td>{$store.store_name|escape}</td>
      <td>{$store.brand_name|escape}</td>
      <td>{$store.cate_name|escape}</td>
      <td class="table-center">{$store.keyword}</td>
      <td class="table-center">{if $store.status eq '1'}{$lang.open}{else}{$lang.close}{/if}</td>
      <td class="handler">
        <a href="index.php?app=ultimate_store&amp;act=edit&amp;id={$store.ultimate_id}">{$lang.edit}</a> | <a href="javascript:drop_confirm('{$lang.drop_ultimate_confirm}', 'index.php?app=ultimate_store&amp;act=drop&amp;id={$store.ultimate_id}');">{$lang.drop}</a>
      </td>
    </tr>
    <!--{foreachelse}-->
    <tr class="no_data">
      <td colspan="7">{$lang.no_data}</td>
    </tr>
    <!--{/foreach}-->
  </table>
  <!--{if $ultimate_store}-->
  <div id="dataFuncs">
    <div class="pageLinks">{include file=page.bottom.html}</div>
    <div id="batchAction" class="left paddingT15">
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input class="formbtn batchButton" type="button" value="{$lang.drop}" name="id" uri="index.php?app=ultimate_store&act=drop" presubmit="confirm('{$lang.drop_ultimate_confirm}');" />
    </div>
  </div>
  <div class="clear"></div>
  <!--{/if}-->

</div>
{include file="footer.html"}